package cn.com.myshiro.dao;
import java.util.List;
import java.util.Map;
import cn.com.myshiro.bean.Sysrolepermission;


public interface SysrolepermissionDao {

	 //查所有
	 public List<Sysrolepermission> allSysrolepermission(Map<Object,Object> map);

	 //删除
	 public void delSysrolepermission(int id);

	 //获取一个form
	 public  Sysrolepermission  sysrolepermission(int  id);

	 //修改
	 public void updateSysrolepermission(Sysrolepermission  sysrolepermission);

	 //添加
	 public void addSysrolepermission(Sysrolepermission  sysrolepermission);

	 //查询总条数
	 public int countSysrolepermission();
}
